package com.jd.cs.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jd.cs.entity.UserPo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 的dao层
 *
 * @author itar
 * @email wuhandzy@gmail.com
 * @date 2020-09-15 03:02:12
 * @since jdk1.8
 */
public interface UserMapper extends BaseMapper<UserPo> {
    UserPo select2(@Param("id") int id);

    @Select("select * from t_user where id = #{id}")
    UserPo select3(@Param("id") int id);

    UserPo select4(@Param("id") int id);

    int updatePassword(@Param("id") int id, @Param("password") String password);
}